/*

public class A {
    public int missingNumber(int[] nums) {
        int size = -1;
        boolean bb = false;
        for (int i = 0; i < nums.length; i++) {
            for (int j = 0; j < nums.length; j++) {
                if (nums[i] == nums[j]) {
                    bb = true;
                }
            }
            if (bb == false) {
                return i;
            }
        }
    }
}

class Solution {
    public int missingNumber(int[] nums) {
        int size = -1;
        boolean bb = false;
        for (int i = 0; i < nums.length; i++) {

        }
    }
}


public class Test {

    public void rotate(int[] nums, int k) {
        int size = nums.length;
        int left = 0;
        int right = size - 1;
        while (left < right) {
            int tmp = nums[left];
            nums[left] = nums[right];
            nums[right] = tmp;
            left++;
            right--;
        }
        while (left <= k) {
            int tmp = nums[left];
            nums[left] = nums[k];
            nums[k] = tmp;
            left++;
            k--;
        }
        while (k + 1 < right) {
            int tmp = nums[k];
            nums[left] = nums[k];
            nums[k] = tmp;
            k++;
            right--;
        }
        return nums;
    }

    class Solution {
        public void rotate(int[] nums, int k) {
            int size = nums.length;
            k %= n;

            reverse(nums, 0, size - 1);
            reverse(nums, 0, k - 1);
            reverse(nums, k, size - 1);

            public void reverse ( int[] nums, int start, int end){
                while (start < end) {
                    int tmp = nums[start];
                    nums[start] = nums[end];
                    nums[end] = tmp;
                    start++;
                    end--;
                }
            }

        }
    }

    public static void main1(String[] args) {
        int[] arr = {3, 0, 1};
        A a = new A();
        int b = a.missingNumber(arr);


    }

    */
/*public static void main(String[] args) {
        public boolean contains(int toFind){
            for (int i = 0; i < usedSize; i++) {
                if (toFind.equls(arr[i])){
                    return true;
                }
            }
            return flase;
        }

        public boolean contains(int toFind){
            int size=-1;
            for (int i = 0; i < usedSize; i++) {
                if (toFind.equls(Arr[i])){
                    size=i;
                    return size;
                }
            }
            return size;
        }
        int[] List1={1,2,3,4,};
        String List2 = {"1 2 3 4"};
        List2.size();
        int a = List1.length;
    }*//*



}
*/
